package com.lanou.demo.backgrounddemo.mapper;

import com.lanou.entity.entity.ContentEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 常宏盛
 * Date: 2019/7/15 10:32
 **/
public interface ContentMapper {

    List<ContentEntity> list(@Param("categoryId") Long categoryId, @Param("offset") int offset, @Param("rows") int rows);

    int save(ContentEntity content);

    int edit(ContentEntity content);

    int delete(List<Long> idsList);

}
